import request from '@/utils/request'

const api = {
    get:'/cms/sysConfig/queryPageList',
    save:'/cms/sysConfig/save',
    deletes:'/cms/sysConfig/delete',
    updateStatus:'/cms/sysConfig/updateStatus'
  }

  //获取
  export function get (parameter) {
    return request({
      url: api.get,
      method: 'post',
      data: parameter
    })
  }
  //保存
  export function save (parameter) {
    return request({
      url: api.save,
      method: 'post',
      data: parameter
    })
  }
  //删除
  export function deletes (parameter) {
    return request({
      url: api.deletes,
      method: 'post',
      data: parameter
    })
  }
    //修改状态
    export function updateStatus (parameter) {
      return request({
        url: api.updateStatus,
        method: 'post',
        data: parameter
      })
    }